home *** CD-ROM | disk | FTP | other *** search
Unknown | 2004-09-14 | 7.8 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| file
| data
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 59 7d 2f 2f 2d 2d 2d 2d |........|Y}//----|
|00000010| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000020| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000030| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000040| 2d 2d 2d 2d 2d 2d 2d 0d | 0a 2f 2f 0d 0a 2f 2f 2d |-------.|.//..//-|
|00000050| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000060| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000070| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000080| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 0d 0a 63 6c 61 73 |--------|--..clas|
|00000090| 73 20 4f 4e 53 4d 6f 72 | 74 61 72 43 61 6d 65 72 |s ONSMor|tarCamer|
|000000a0| 61 20 65 78 74 65 6e 64 | 73 20 4f 4e 53 4d 6f 72 |a extend|s ONSMor|
|000000b0| 74 61 72 53 68 65 6c 6c | 3b 0d 0a 0d 0a 76 61 72 |tarShell|;....var|
|000000c0| 20 62 6f 6f 6c 20 20 20 | 20 20 20 20 20 20 20 20 | bool | |
|000000d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 62 44 65 | | bDe|
|000000e0| 70 6c 6f 79 65 64 2c 20 | 62 4c 61 73 74 44 65 70 |ployed, |bLastDep|
|000000f0| 6c 6f 79 65 64 3b 0d 0a | 76 61 72 20 62 6f 6f 6c |loyed;..|var bool|
|00000100| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000110| 20 20 20 20 20 20 20 20 | 62 53 68 6f 74 44 6f 77 | |bShotDow|
|00000120| 6e 2c 20 62 4c 61 73 74 | 53 68 6f 74 44 6f 77 6e |n, bLast|ShotDown|
|00000130| 3b 0d 0a 76 61 72 20 4f | 4e 53 4d 6f 72 74 61 72 |;..var O|NSMortar|
|00000140| 54 61 72 67 65 74 42 65 | 61 6d 20 20 20 20 20 20 |TargetBe|am |
|00000150| 20 20 20 54 61 72 67 65 | 74 42 65 61 6d 3b 0d 0a | Targe|tBeam;..|
|00000160| 76 61 72 20 66 6c 6f 61 | 74 20 20 20 20 20 20 20 |var floa|t |
|00000170| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000180| 54 61 72 67 65 74 55 70 | 64 61 74 65 54 69 6d 65 |TargetUp|dateTime|
|00000190| 3b 0d 0a 76 61 72 20 45 | 6d 69 74 74 65 72 20 20 |;..var E|mitter |
|000001a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000001b0| 20 20 20 54 68 72 75 73 | 74 65 72 5b 34 5d 3b 0d | Thrus|ter[4];.|
|000001c0| 0a 76 61 72 20 62 79 74 | 65 20 20 20 20 20 20 20 |.var byt|e |
|000001d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000001e0| 20 54 65 61 6d 4e 75 6d | 3b 0d 0a 76 61 72 20 76 | TeamNum|;..var v|
|000001f0| 65 63 74 6f 72 20 20 20 | 20 20 20 20 20 20 20 20 |ector | |
|00000200| 20 20 20 20 20 20 20 20 | 20 20 20 4d 6f 72 74 61 | | Morta|
|00000210| 72 43 61 6d 65 72 61 4f | 66 66 73 65 74 3b 0d 0a |rCameraO|ffset;..|
|00000220| 76 61 72 20 76 65 63 74 | 6f 72 20 20 20 20 20 20 |var vect|or |
|00000230| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000240| 44 65 70 6c 6f 79 65 64 | 4c 6f 63 61 74 69 6f 6e |Deployed|Location|
|00000250| 3b 0d 0a 76 61 72 20 66 | 6c 6f 61 74 20 20 20 20 |;..var f|loat |
|00000260| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000270| 20 20 20 4d 65 73 73 61 | 67 65 55 70 64 61 74 65 | Messa|geUpdate|
|00000280| 54 69 6d 65 3b 0d 0a 76 | 61 72 20 76 65 63 74 6f |Time;..v|ar vecto|
|00000290| 72 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |r | |
|000002a0| 20 20 20 20 20 20 20 52 | 65 61 6c 4c 6f 63 61 74 | R|ealLocat|
|000002b0| 69 6f 6e 2c 20 4c 61 73 | 74 52 65 61 6c 4c 6f 63 |ion, Las|tRealLoc|
|000002c0| 61 74 69 6f 6e 3b 0d 0a | 0d 0a 2f 2f 20 66 6f 72 |ation;..|..// for|
|000002d0| 20 41 49 20 75 73 65 0d | 0a 76 61 72 20 66 6c 6f | AI use.|.var flo|
|000002e0| 61 74 09 09 09 09 09 09 | 44 65 70 6c 6f 79 52 61 |at......|DeployRa|
|000002f0| 6e 64 3b 0d 0a 76 61 72 | 09 66 6c 6f 61 74 09 09 |nd;..var|.float..|
|00000300| 09 09 09 09 4d 61 78 48 | 65 69 67 68 74 3b 0d 0a |....MaxH|eight;..|
|00000310| 76 61 72 20 66 6c 6f 61 | 74 09 09 09 09 09 09 54 |var floa|t......T|
|00000320| 61 72 67 65 74 5a 3b 0d | 0a 76 61 72 09 66 6c 6f |argetZ;.|.var.flo|
|00000330| 61 74 09 09 09 09 09 09 | 41 6e 6e 6f 75 6e 63 65 |at......|Announce|
|00000340| 54 61 72 67 65 74 54 69 | 6d 65 3b 0d 0a 0d 0a 72 |TargetTi|me;....r|
|00000350| 65 70 6c 69 63 61 74 69 | 6f 6e 0d 0a 7b 0d 0a 20 |eplicati|on..{.. |
|00000360| 20 20 20 72 65 6c 69 61 | 62 6c 65 20 69 66 20 28 | relia|ble if (|
|00000370| 52 6f 6c 65 20 3d 3d 20 | 52 4f 4c 45 5f 41 75 74 |Role == |ROLE_Aut|
|00000380| 68 6f 72 69 74 79 29 0d | 0a 20 20 20 20 20 20 20 |hority).|. |
|00000390| 20 52 65 61 6c 4c 6f 63 | 61 74 69 6f 6e 2c 20 62 | RealLoc|ation, b|
|000003a0| 44 65 70 6c 6f 79 65 64 | 2c 20 62 53 68 6f 74 44 |Deployed|, bShotD|
|000003b0| 6f 77 6e 2c 20 54 65 61 | 6d 4e 75 6d 3b 0d 0a 7d |own, Tea|mNum;..}|
|000003c0| 0d 0a 0d 0a 73 69 6d 75 | 6c 61 74 65 64 20 66 75 |....simu|lated fu|
|000003d0| 6e 63 74 69 6f 6e 20 50 | 6f 73 74 42 65 67 69 6e |nction P|ostBegin|
|000003e0| 50 6c 61 79 28 29 0d 0a | 7b 0d 0a 09 53 75 70 65 |Play()..|{...Supe|
|000003f0| 72 2e 50 6f 73 74 42 65 | 67 69 6e 50 6c 61 79 28 |r.PostBe|ginPlay(|
|00000400| 29 3b 0d 0a 0d 0a 20 20 | 20 20 69 66 20 28 49 6e |);.... | if (In|
|00000410| 73 74 69 67 61 74 6f 72 | 20 21 3d 20 4e 6f 6e 65 |stigator| != None|
|00000420| 20 26 26 20 49 6e 73 74 | 69 67 61 74 6f 72 2e 43 | && Inst|igator.C|
|00000430| 6f 6e 74 72 6f 6c 6c 65 | 72 20 21 3d 20 4e 6f 6e |ontrolle|r != Non|
|00000440| 65 29 0d 0a 20 20 20 20 | 20 20 20 20 54 65 61 6d |e).. | Team|
|00000450| 4e 75 6d 20 3d 20 49 6e | 73 74 69 67 61 74 6f 72 |Num = In|stigator|
|00000460| 2e 43 6f 6e 74 72 6f 6c | 6c 65 72 2e 47 65 74 54 |.Control|ler.GetT|
|00000470| 65 61 6d 4e 75 6d 28 29 | 3b 0d 0a 7d 0d 0a 0d 0a |eamNum()|;..}....|
|00000480| 73 69 6d 75 6c 61 74 65 | 64 20 66 75 6e 63 74 69 |simulate|d functi|
|00000490| 6f 6e 20 50 6f 73 74 4e | 65 74 52 65 63 65 69 76 |on PostN|etReceiv|
|000004a0| 65 28 29 0d 0a 7b 0d 0a | 20 20 20 20 53 75 70 65 |e()..{..| Supe|
|000004b0| 72 2e 50 6f 73 74 4e 65 | 74 52 65 63 65 69 76 65 |r.PostNe|tReceive|
|000004c0| 28 29 3b 0d 0a 0d 0a 20 | 20 20 20 69 66 20 28 62 |();.... | if (b|
|000004d0| 44 65 70 6c 6f 79 65 64 | 20 21 3d 20 62 4c 61 73 |Deployed| != bLas|
|000004e0| 74 44 65 70 6c 6f 79 65 | 64 29 0d 0a 20 20 20 20 |tDeploye|d).. |
|000004f0| 7b 0d 0a 20 20 20 20 20 | 20 20 20 47 6f 74 6f 53 |{.. | GotoS|
|00000500| 74 61 74 65 28 27 44 65 | 70 6c 6f 79 65 64 27 29 |tate('De|ployed')|
|00000510| 3b 0d 0a 20 20 20 20 20 | 20 20 20 62 4c 61 73 74 |;.. | bLast|
|00000520| 44 65 70 6c 6f 79 65 64 | 20 3d 20 62 44 65 70 6c |Deployed| = bDepl|
|00000530| 6f 79 65 64 3b 0d 0a 20 | 20 20 20 7d 0d 0a 0d 0a |oyed;.. | }....|
|00000540| 20 20 20 20 69 66 20 28 | 62 53 68 6f 74 44 6f 77 | if (|bShotDow|
|00000550| 6e 20 21 3d 20 62 4c 61 | 73 74 53 68 6f 74 44 6f |n != bLa|stShotDo|
|00000560| 77 6e 29 0d 0a 20 20 20 | 20 7b 0d 0a 20 20 20 20 |wn).. | {.. |
|00000570| 20 20 20 20 53 68 6f 74 | 44 6f 77 6e 28 29 3b 0d | Shot|Down();.|
|00000580| 0a 20 20 20 20 20 20 20 | 20 62 4c 61 73 74 53 68 |. | bLastSh|
|00000590| 6f 74 44 6f 77 6e 20 3d | 20 62 53 68 6f 74 44 6f |otDown =| bShotDo|
|000005a0| 77 6e 3b 0d 0a 20 20 20 | 20 7d 0d 0a 0d 0a 09 69 |wn;.. | }.....i|
|000005b0| 66 20 28 20 52 65 61 6c | 4c 6f 63 61 74 69 6f 6e |f ( Real|Location|
|000005c0| 20 21 3d 20 4c 61 73 74 | 52 65 61 6c 4c 6f 63 61 | != Last|RealLoca|
|000005d0| 74 69 6f 6e 20 29 0d 0a | 09 7b 0d 0a 09 09 53 65 |tion )..|.{....Se|
|000005e0| 74 4c 6f 63 61 74 69 6f | 6e 28 52 65 61 6c 4c 6f |tLocatio|n(RealLo|
|000005f0| 63 61 74 69 6f 6e 29 3b | 0d 0a 09 09 4c 61 73 74 |cation);|....Last|
|00000600| 52 65 61 6c 4c 6f 63 61 | 74 69 6f 6e 20 3d 20 52 |RealLoca|tion = R|
|00000610| 65 61 6c 4c 6f 63 61 74 | 69 6f 6e 3b 0d 0a 09 7d |ealLocat|ion;...}|
|00000620| 0d 0a 7d 0d 0a 0d 0a 66 | 75 6e 63 74 69 6f 6e 20 |..}....f|unction |
|00000630| 44 65 70 6c 6f 79 28 29 | 0d 0a 7b 0d 0a 09 41 6e |Deploy()|..{...An|
|00000640| 6e 6f 75 6e 63 65 54 61 | 72 67 65 74 54 69 6d 65 |nounceTa|rgetTime|
|00000650| 20 3d 20 4c 65 76 65 6c | 2e 54 69 6d 65 53 65 63 | = Level|.TimeSec|
|00000660| 6f 6e 64 73 20 2b 20 31 | 20 2b 20 28 37 20 2d 20 |onds + 1| + (7 - |
|00000670| 4c 65 76 65 6c 2e 47 61 | 6d 65 2e 47 61 6d 65 44 |Level.Ga|me.GameD|
|00000680| 69 66 66 69 63 75 6c 74 | 79 29 3b 0d 0a 20 20 20 |ifficult|y);.. |
|00000690| 20 62 44 65 70 6c 6f 79 | 65 64 20 3d 20 54 72 75 | bDeploy|ed = Tru|
|000006a0| 65 3b 0d 0a 20 20 20 20 | 41 6d 62 69 65 6e 74 53 |e;.. |AmbientS|
|000006b0| 6f 75 6e 64 20 3d 20 73 | 6f 75 6e 64 27 4f 4e 53 |ound = s|ound'ONS|
|000006c0| 42 50 53 6f 75 6e 64 73 | 2e 41 72 74 69 6c 6c 65 |BPSounds|.Artille|
|000006d0| 72 79 2e 43 61 6d 65 72 | 61 41 6d 62 69 65 6e 74 |ry.Camer|aAmbient|
|000006e0| 27 3b 0d 0a 0d 0a 20 20 | 20 20 47 6f 74 6f 53 74 |';.... | GotoSt|
|000006f0| 61 74 65 28 27 44 65 70 | 6c 6f 79 65 64 27 29 3b |ate('Dep|loyed');|
|00000700| 0d 0a 7d 0d 0a 0d 0a 73 | 69 6d 75 6c 61 74 65 64 |..}....s|imulated|
|00000710| 20 66 75 6e 63 74 69 6f | 6e 20 53 70 61 77 6e 54 | functio|n SpawnT|
|00000720| 68 72 75 73 74 65 72 73 | 28 29 0d 0a 7b 0d 0a 09 |hrusters|()..{...|
|00000730| 69 66 20 28 20 4c 65 76 | 65 6c 2e 4e 65 74 4d 6f |if ( Lev|el.NetMo|
|00000740| 64 65 20 3d 3d 20 4e 4d | 5f 44 65 64 69 63 61 74 |de == NM|_Dedicat|
|00000750| 65 64 53 65 72 76 65 72 | 20 29 0d 0a 09 09 72 65 |edServer| )....re|
|00000760| 74 75 72 6e 3b 0d 0a 20 | 20 20 20 69 66 20 28 54 |turn;.. | if (T|
|00000770| 65 61 6d 4e 75 6d 20 3d | 3d 20 30 29 0d 0a 20 20 |eamNum =|= 0).. |
|00000780| 20 20 7b 0d 0a 20 20 20 | 20 20 20 20 20 54 68 72 | {.. | Thr|
|00000790| 75 73 74 65 72 5b 30 5d | 20 3d 20 73 70 61 77 6e |uster[0]| = spawn|
|000007a0| 28 63 6c 61 73 73 27 4f | 4e 53 41 72 74 69 6c 6c |(class'O|NSArtill|
|000007b0| 65 72 79 43 61 6d 54 68 | 72 75 73 74 65 72 52 65 |eryCamTh|rusterRe|
|000007c0| 64 27 29 3b 0d 0a 20 20 | 20 20 20 20 20 20 54 68 |d');.. | Th|
|000007d0| 72 75 73 74 65 72 5b 31 | 5d 20 3d 20 73 70 61 77 |ruster[1|] = spaw|
|000007e0| 6e 28 63 6c 61 73 73 27 | 4f 4e 53 41 72 74 69 6c |n(class'|ONSArtil|
|000007f0| 6c 65 72 79 43 61 6d 54 | 68 72 75 73 74 65 72 52 |leryCamT|hrusterR|
|00000800| 65 64 27 29 3b 0d 0a 20 | 20 20 20 20 20 20 20 54 |ed');.. | T|
|00000810| 68 72 75 73 74 65 72 5b | 32 5d 20 3d 20 73 70 61 |hruster[|2] = spa|
|00000820| 77 6e 28 63 6c 61 73 73 | 27 4f 4e 53 41 72 74 69 |wn(class|'ONSArti|
|00000830| 6c 6c 65 72 79 43 61 6d | 54 68 72 75 73 74 65 72 |lleryCam|Thruster|
|00000840| 52 65 64 27 29 3b 0d 0a | 20 20 20 20 20 20 20 20 |Red');..| |
|00000850| 54 68 72 75 73 74 65 72 | 5b 33 5d 20 3d 20 73 70 |Thruster|[3] = sp|
|00000860| 61 77 6e 28 63 6c 61 73 | 73 27 4f 4e 53 41 72 74 |awn(clas|s'ONSArt|
|00000870| 69 6c 6c 65 72 79 43 61 | 6d 54 68 72 75 73 74 65 |illeryCa|mThruste|
|00000880| 72 52 65 64 27 29 3b 0d | 0a 20 20 20 20 7d 0d 0a |rRed');.|. }..|
|00000890| 20 20 20 20 65 6c 73 65 | 0d 0a 20 20 20 20 7b 0d | else|.. {.|
|000008a0| 0a 20 20 20 20 20 20 20 | 20 54 68 72 75 73 74 65 |. | Thruste|
|000008b0| 72 5b 30 5d 20 3d 20 73 | 70 61 77 6e 28 63 6c 61 |r[0] = s|pawn(cla|
|000008c0| 73 73 27 4f 4e 53 41 72 | 74 69 6c 6c 65 72 79 43 |ss'ONSAr|tilleryC|
|000008d0| 61 6d 54 68 72 75 73 74 | 65 72 42 6c 75 65 27 29 |amThrust|erBlue')|
|000008e0| 3b 0d 0a 20 20 20 20 20 | 20 20 20 54 68 72 75 73 |;.. | Thrus|
|000008f0| 74 65 72 5b 31 5d 20 3d | 20 73 70 61 77 6e 28 63 |ter[1] =| spawn(c|
|00000900| 6c 61 73 73 27 4f 4e 53 | 41 72 74 69 6c 6c 65 72 |lass'ONS|Artiller|
|00000910| 79 43 61 6d 54 68 72 75 | 73 74 65 72 42 6c 75 65 |yCamThru|sterBlue|
|00000920| 27 29 3b 0d 0a 20 20 20 | 20 20 20 20 20 54 68 72 |');.. | Thr|
|00000930| 75 73 74 65 72 5b 32 5d | 20 3d 20 73 70 61 77 6e |uster[2]| = spawn|
|00000940| 28 63 6c 61 73 73 27 4f | 4e 53 41 72 74 69 6c 6c |(class'O|NSArtill|
|00000950| 65 72 79 43 61 6d 54 68 | 72 75 73 74 65 72 42 6c |eryCamTh|rusterBl|
|00000960| 75 65 27 29 3b 0d 0a 20 | 20 20 20 20 20 20 20 54 |ue');.. | T|
|00000970| 68 72 75 73 74 65 72 5b | 33 5d 20 3d 20 73 70 61 |hruster[|3] = spa|
|00000980| 77 6e 28 63 6c 61 73 73 | 27 4f 4e 53 41 72 74 69 |wn(class|'ONSArti|
|00000990| 6c 6c 65 72 79 43 61 6d | 54 68 72 75 73 74 65 72 |lleryCam|Thruster|
|000009a0| 42 6c 75 65 27 29 3b 0d | 0a 20 20 20 20 7d 0d 0a |Blue');.|. }..|
|000009b0| 0d 0a 20 20 20 20 41 74 | 74 61 63 68 54 6f 42 6f |.. At|tachToBo|
|000009c0| 6e 65 28 54 68 72 75 73 | 74 65 72 5b 30 5d 2c 20 |ne(Thrus|ter[0], |
|000009d0| 27 42 6f 6f 73 74 65 72 | 52 69 67 68 74 27 29 3b |'Booster|Right');|
|000009e0| 0d 0a 20 20 20 20 41 74 | 74 61 63 68 54 6f 42 6f |.. At|tachToBo|
|000009f0| 6e 65 28 54 68 72 75 73 | 74 65 72 5b 31 5d 2c 20 |ne(Thrus|ter[1], |
|00000a00| 27 42 6f 6f 73 74 65 72 | 4c 65 66 74 27 29 3b 0d |'Booster|Left');.|
|00000a10| 0a 20 20 20 20 41 74 74 | 61 63 68 54 6f 42 6f 6e |. Att|achToBon|
|00000a20| 65 28 54 68 72 75 73 74 | 65 72 5b 32 5d 2c 20 27 |e(Thrust|er[2], '|
|00000a30| 42 6f 6f 73 74 65 72 54 | 6f 70 27 29 3b 0d 0a 20 |BoosterT|op');.. |
|00000a40| 20 20 20 41 74 74 61 63 | 68 54 6f 42 6f 6e 65 28 | Attac|hToBone(|
|00000a50| 54 68 72 75 73 74 65 72 | 5b 33 5d 2c 20 27 42 6f |Thruster|[3], 'Bo|
|00000a60| 6f 73 74 65 72 42 6f 74 | 74 6f 6d 27 29 3b 0d 0a |osterBot|tom');..|
|00000a70| 7d 0d 0a 0d 0a 73 69 6d | 75 6c 61 74 65 64 20 73 |}....sim|ulated s|
|00000a80| 74 61 74 65 20 44 65 70 | 6c 6f 79 65 64 0d 0a 7b |tate Dep|loyed..{|
|00000a90| 0d 0a 42 65 67 69 6e 3a | 0d 0a 09 52 65 61 6c 4c |..Begin:|...RealL|
|00000aa0| 6f 63 61 74 69 6f 6e 20 | 3d 20 4c 6f 63 61 74 69 |ocation |= Locati|
|00000ab0| 6f 6e 3b 0d 0a 20 20 20 | 20 56 65 6c 6f 63 69 74 |on;.. | Velocit|
|00000ac0| 79 20 3d 20 76 65 63 74 | 28 30 2c 30 2c 30 29 3b |y = vect|(0,0,0);|
|00000ad0| 0d 0a 20 20 20 20 44 65 | 70 6c 6f 79 65 64 4c 6f |.. De|ployedLo|
|00000ae0| 63 61 74 69 6f 6e 20 3d | 20 4c 6f 63 61 74 69 6f |cation =| Locatio|
|00000af0| 6e 3b 0d 0a 20 20 20 20 | 53 70 61 77 6e 54 68 72 |n;.. |SpawnThr|
|00000b00| 75 73 74 65 72 73 28 29 | 3b 0d 0a 20 20 20 20 53 |usters()|;.. S|
|00000b10| 65 74 50 68 79 73 69 63 | 73 28 50 48 59 53 5f 50 |etPhysic|s(PHYS_P|
|00000b20| 72 6f 6a 65 63 74 69 6c | 65 29 3b 0d 0a 20 20 20 |rojectil|e);.. |
|00000b30| 20 62 52 6f 74 61 74 65 | 54 6f 44 65 73 69 72 65 | bRotate|ToDesire|
|00000b40| 64 20 3d 20 74 72 75 65 | 3b 0d 0a 20 20 20 20 44 |d = true|;.. D|
|00000b50| 65 73 69 72 65 64 52 6f | 74 61 74 69 6f 6e 20 3d |esiredRo|tation =|
|00000b60| 20 72 6f 74 28 2d 31 36 | 33 38 34 2c 30 2c 30 29 | rot(-16|384,0,0)|
|00000b70| 3b 0d 0a 20 20 20 20 50 | 6c 61 79 41 6e 69 6d 28 |;.. P|layAnim(|
|00000b80| 27 44 65 70 6c 6f 79 27 | 2c 20 31 2e 30 2c 20 30 |'Deploy'|, 1.0, 0|
|00000b90| 2e 30 29 3b 0d 0a 20 20 | 20 20 69 66 20 28 20 49 |.0);.. | if ( I|
|00000ba0| 6e 73 74 69 67 61 74 6f | 72 20 21 3d 20 4e 6f 6e |nstigato|r != Non|
|00000bb0| 65 20 26 26 20 49 6e 73 | 74 69 67 61 74 6f 72 2e |e && Ins|tigator.|
|00000bc0| 49 73 4c 6f 63 61 6c 6c | 79 43 6f 6e 74 72 6f 6c |IsLocall|yControl|
|00000bd0| 6c 65 64 28 29 20 26 26 | 20 49 6e 73 74 69 67 61 |led() &&| Instiga|
|00000be0| 74 6f 72 2e 49 73 48 75 | 6d 61 6e 43 6f 6e 74 72 |tor.IsHu|manContr|
|00000bf0| 6f 6c 6c 65 64 28 29 20 | 29 0d 0a 20 20 20 20 7b |olled() |).. {|
|00000c00| 0d 0a 20 20 20 20 20 20 | 20 20 54 61 72 67 65 74 |.. | Target|
|00000c10| 42 65 61 6d 20 3d 20 73 | 70 61 77 6e 28 63 6c 61 |Beam = s|pawn(cla|
|00000c20| 73 73 27 4f 4e 53 4d 6f | 72 74 61 72 54 61 72 67 |ss'ONSMo|rtarTarg|
|00000c30| 65 74 42 65 61 6d 27 2c | 20 73 65 6c 66 2c 2c 20 |etBeam',| self,, |
|00000c40| 4c 6f 63 61 74 69 6f 6e | 2c 20 72 6f 74 28 30 2c |Location|, rot(0,|
|00000c50| 30 2c 31 30 30 29 29 3b | 0d 0a 20 20 20 20 20 20 |0,100));|.. |
|00000c60| 20 20 54 61 72 67 65 74 | 42 65 61 6d 2e 41 72 74 | Target|Beam.Art|
|00000c70| 69 6c 6c 65 72 79 4c 6f | 63 61 74 69 6f 6e 20 3d |illeryLo|cation =|
|00000c80| 20 49 6e 73 74 69 67 61 | 74 6f 72 2e 4c 6f 63 61 | Instiga|tor.Loca|
|00000c90| 74 69 6f 6e 3b 0d 0a 20 | 20 20 20 20 20 20 20 4f |tion;.. | O|
|00000ca0| 4e 53 41 72 74 69 6c 6c | 65 72 79 43 61 6e 6e 6f |NSArtill|eryCanno|
|00000cb0| 6e 28 4f 77 6e 65 72 29 | 2e 4e 6f 74 69 66 79 44 |n(Owner)|.NotifyD|
|00000cc0| 65 70 6c 6f 79 65 64 28 | 29 3b 0d 0a 20 20 20 20 |eployed(|);.. |
|00000cd0| 7d 0d 0a 20 20 20 20 73 | 6c 65 65 70 28 32 2e 30 |}.. s|leep(2.0|
|00000ce0| 29 3b 0d 0a 20 20 20 20 | 62 52 6f 74 61 74 65 54 |);.. |bRotateT|
|00000cf0| 6f 44 65 73 69 72 65 64 | 20 3d 20 66 61 6c 73 65 |oDesired| = false|
|00000d00| 3b 0d 0a 09 52 65 61 6c | 4c 6f 63 61 74 69 6f 6e |;...Real|Location|
|00000d10| 20 3d 20 4c 6f 63 61 74 | 69 6f 6e 3b 0d 0a 7d 0d | = Locat|ion;..}.|
|00000d20| 0a 0d 0a 73 69 6d 75 6c | 61 74 65 64 20 66 75 6e |...simul|ated fun|
|00000d30| 63 74 69 6f 6e 20 53 65 | 74 54 61 72 67 65 74 28 |ction Se|tTarget(|
|00000d40| 76 65 63 74 6f 72 20 6c | 6f 63 29 0d 0a 7b 0d 0a |vector l|oc)..{..|
|00000d50| 20 20 20 20 69 66 20 28 | 54 61 72 67 65 74 42 65 | if (|TargetBe|
|00000d60| 61 6d 20 21 3d 20 4e 6f | 6e 65 29 0d 0a 20 20 20 |am != No|ne).. |
|00000d70| 20 20 20 20 20 54 61 72 | 67 65 74 42 65 61 6d 2e | Tar|getBeam.|
|00000d80| 54 61 72 67 65 74 4c 6f | 63 61 74 69 6f 6e 20 3d |TargetLo|cation =|
|00000d90| 20 6c 6f 63 3b 0d 0a 7d | 0d 0a 0d 0a 73 69 6d 75 | loc;..}|....simu|
|00000da0| 6c 61 74 65 64 20 66 75 | 6e 63 74 69 6f 6e 20 53 |lated fu|nction S|
|00000db0| 65 74 52 65 74 69 63 6c | 65 53 74 61 74 75 73 28 |etReticl|eStatus(|
|00000dc0| 62 6f 6f 6c 20 62 53 74 | 61 74 75 73 29 0d 0a 7b |bool bSt|atus)..{|
|00000dd0| 0d 0a 20 20 20 20 69 66 | 20 28 54 61 72 67 65 74 |.. if| (Target|
|00000de0| 42 65 61 6d 20 21 3d 20 | 4e 6f 6e 65 29 0d 0a 20 |Beam != |None).. |
|00000df0| 20 20 20 20 20 20 20 54 | 61 72 67 65 74 42 65 61 | T|argetBea|
|00000e00| 6d 2e 53 65 74 53 74 61 | 74 75 73 28 62 53 74 61 |m.SetSta|tus(bSta|
|00000e10| 74 75 73 29 3b 0d 0a 7d | 0d 0a 0d 0a 73 69 6d 75 |tus);..}|....simu|
|00000e20| 6c 61 74 65 64 20 66 75 | 6e 63 74 69 6f 6e 20 62 |lated fu|nction b|
|00000e30| 6f 6f 6c 20 53 70 65 63 | 69 61 6c 43 61 6c 63 56 |ool Spec|ialCalcV|
|00000e40| 69 65 77 28 6f 75 74 20 | 61 63 74 6f 72 20 56 69 |iew(out |actor Vi|
|00000e50| 65 77 41 63 74 6f 72 2c | 20 6f 75 74 20 76 65 63 |ewActor,| out vec|
|00000e60| 74 6f 72 20 43 61 6d 65 | 72 61 4c 6f 63 61 74 69 |tor Came|raLocati|
|00000e70| 6f 6e 2c 20 6f 75 74 20 | 72 6f 74 61 74 6f 72 20 |on, out |rotator |
|00000e80| 43 61 6d 65 72 61 52 6f | 74 61 74 69 6f 6e 2c 20 |CameraRo|tation, |
|00000e90| 62 6f 6f 6c 20 62 42 65 | 68 69 6e 64 56 69 65 77 |bool bBe|hindView|
|00000ea0| 29 0d 0a 7b 0d 0a 20 20 | 20 20 69 66 20 28 62 44 |)..{.. | if (bD|
|00000eb0| 65 70 6c 6f 79 65 64 20 | 26 26 20 21 62 42 65 68 |eployed |&& !bBeh|
|00000ec0| 69 6e 64 56 69 65 77 29 | 0d 0a 20 20 20 20 20 20 |indView)|.. |
|00000ed0| 20 20 43 61 6d 65 72 61 | 4c 6f 63 61 74 69 6f 6e | Camera|Location|
|00000ee0| 20 3d 20 4c 6f 63 61 74 | 69 6f 6e 20 2b 20 28 4d | = Locat|ion + (M|
|00000ef0| 6f 72 74 61 72 43 61 6d | 65 72 61 4f 66 66 73 65 |ortarCam|eraOffse|
|00000f00| 74 20 3e 3e 20 52 6f 74 | 61 74 69 6f 6e 29 3b 0d |t >> Rot|ation);.|
|00000f10| 0a 20 20 20 20 65 6c 73 | 65 0d 0a 20 20 20 20 20 |. els|e.. |
|00000f20| 20 20 20 43 61 6d 65 72 | 61 4c 6f 63 61 74 69 6f | Camer|aLocatio|
|00000f30| 6e 20 3d 20 4c 6f 63 61 | 74 69 6f 6e 20 2b 20 28 |n = Loca|tion + (|
|00000f40| 76 65 63 74 28 2d 38 30 | 30 2c 30 2c 33 30 30 29 |vect(-80|0,0,300)|
|00000f50| 20 3e 3e 20 43 61 6d 65 | 72 61 52 6f 74 61 74 69 | >> Came|raRotati|
|00000f60| 6f 6e 29 3b 0d 0a 0d 0a | 20 20 20 20 72 65 74 75 |on);....| retu|
|00000f70| 72 6e 20 54 72 75 65 3b | 0d 0a 7d 0d 0a 0d 0a 73 |rn True;|..}....s|
|00000f80| 69 6d 75 6c 61 74 65 64 | 20 66 75 6e 63 74 69 6f |imulated| functio|
|00000f90| 6e 20 54 69 63 6b 28 66 | 6c 6f 61 74 20 44 54 29 |n Tick(f|loat DT)|
|00000fa0| 0d 0a 7b 0d 0a 20 20 20 | 20 6c 6f 63 61 6c 20 61 |..{.. | local a|
|00000fb0| 63 74 6f 72 20 48 69 74 | 41 63 74 6f 72 3b 0d 0a |ctor Hit|Actor;..|
|00000fc0| 20 20 20 20 6c 6f 63 61 | 6c 20 76 65 63 74 6f 72 | loca|l vector|
|00000fd0| 20 48 69 74 4e 6f 72 6d | 61 6c 2c 20 48 69 74 4c | HitNorm|al, HitL|
|00000fe0| 6f 63 61 74 69 6f 6e 3b | 0d 0a 09 6c 6f 63 61 6c |ocation;|...local|
|00000ff0| 20 43 6f 6e 74 72 6f 6c | 6c 65 72 20 43 3b 0d 0a | Control|ler C;..|
|00001000| 09 6c 6f 63 61 6c 20 42 | 6f 74 20 42 3b 0d 0a 0d |.local B|ot B;...|
|00001010| 0a 20 20 20 20 53 75 70 | 65 72 2e 54 69 63 6b 28 |. Sup|er.Tick(|
|00001020| 44 54 29 3b 0d 0a 0d 0a | 20 20 20 20 69 66 20 28 |DT);....| if (|
|00001030| 49 6e 73 74 69 67 61 74 | 6f 72 20 3d 3d 20 4e 6f |Instigat|or == No|
|00001040| 6e 65 20 7c 7c 20 4f 4e | 53 41 72 74 69 6c 6c 65 |ne || ON|SArtille|
|00001050| 72 79 28 49 6e 73 74 69 | 67 61 74 6f 72 29 20 3d |ry(Insti|gator) =|
|00001060| 3d 20 4e 6f 6e 65 20 7c | 7c 20 4f 4e 53 41 72 74 |= None ||| ONSArt|
|00001070| 69 6c 6c 65 72 79 28 49 | 6e 73 74 69 67 61 74 6f |illery(I|nstigato|
|00001080| 72 29 2e 44 72 69 76 65 | 72 20 3d 3d 20 4e 6f 6e |r).Drive|r == Non|
|00001090| 65 29 0d 0a 20 20 20 20 | 7b 0d 0a 20 20 20 20 20 |e).. |{.. |
|000010a0| 20 20 20 62 53 68 6f 74 | 44 6f 77 6e 20 3d 20 54 | bShot|Down = T|
|000010b0| 72 75 65 3b 0d 0a 20 20 | 20 20 20 20 20 20 53 68 |rue;.. | Sh|
|000010c0| 6f 74 44 6f 77 6e 28 29 | 3b 0d 0a 20 20 20 20 7d |otDown()|;.. }|
|000010d0| 0d 0a 0d 0a 20 20 20 20 | 69 66 20 28 20 4c 65 76 |.... |if ( Lev|
|000010e0| 65 6c 2e 54 69 6d 65 53 | 65 63 6f 6e 64 73 20 2d |el.TimeS|econds -|
|000010f0| 20 4d 65 73 73 61 67 65 | 55 70 64 61 74 65 54 69 | Message|UpdateTi|
|00001100| 6d 65 20 3e 20 32 2e 30 | 20 29 0d 0a 20 20 20 20 |me > 2.0| ).. |
|00001110| 7b 0d 0a 09 09 69 66 20 | 28 20 28 49 6e 73 74 69 |{....if |( (Insti|
|00001120| 67 61 74 6f 72 20 21 3d | 20 4e 6f 6e 65 29 20 26 |gator !=| None) &|
|00001130| 26 20 28 49 6e 73 74 69 | 67 61 74 6f 72 2e 43 6f |& (Insti|gator.Co|
|00001140| 6e 74 72 6f 6c 6c 65 72 | 20 21 3d 20 4e 6f 6e 65 |ntroller| != None|
|00001150| 29 0d 0a 09 09 09 26 26 | 20 28 49 6e 73 74 69 67 |).....&&| (Instig|
|00001160| 61 74 6f 72 2e 43 6f 6e | 74 72 6f 6c 6c 65 72 20 |ator.Con|troller |
|00001170| 3d 3d 20 4c 65 76 65 6c | 2e 47 65 74 4c 6f 63 61 |== Level|.GetLoca|
|00001180| 6c 50 6c 61 79 65 72 43 | 6f 6e 74 72 6f 6c 6c 65 |lPlayerC|ontrolle|
|00001190| 72 28 29 29 20 26 26 20 | 28 4c 65 76 65 6c 2e 47 |r()) && |(Level.G|
|000011a0| 65 74 4c 6f 63 61 6c 50 | 6c 61 79 65 72 43 6f 6e |etLocalP|layerCon|
|000011b0| 74 72 6f 6c 6c 65 72 28 | 29 2e 56 69 65 77 54 61 |troller(|).ViewTa|
|000011c0| 72 67 65 74 20 3d 3d 20 | 73 65 6c 66 29 20 29 0d |rget == |self) ).|
|000011d0| 0a 09 09 7b 0d 0a 09 09 | 09 69 66 20 28 62 44 65 |...{....|.if (bDe|
|000011e0| 70 6c 6f 79 65 64 29 0d | 0a 09 09 09 09 50 6c 61 |ployed).|.....Pla|
|000011f0| 79 65 72 43 6f 6e 74 72 | 6f 6c 6c 65 72 28 49 6e |yerContr|oller(In|
|00001200| 73 74 69 67 61 74 6f 72 | 2e 43 6f 6e 74 72 6f 6c |stigator|.Control|
|00001210| 6c 65 72 29 2e 52 65 63 | 65 69 76 65 4c 6f 63 61 |ler).Rec|eiveLoca|
|00001220| 6c 69 7a 65 64 4d 65 73 | 73 61 67 65 28 63 6c 61 |lizedMes|sage(cla|
|00001230| 73 73 27 4f 4e 53 4f 6e | 73 6c 61 75 67 68 74 4d |ss'ONSOn|slaughtM|
|00001240| 65 73 73 61 67 65 27 2c | 20 33 33 29 3b 0d 0a 09 |essage',| 33);...|
|00001250| 09 09 65 6c 73 65 0d 0a | 09 09 09 09 50 6c 61 79 |..else..|....Play|
|00001260| 65 72 43 6f 6e 74 72 6f | 6c 6c 65 72 28 49 6e 73 |erContro|ller(Ins|
|00001270| 74 69 67 61 74 6f 72 2e | 43 6f 6e 74 72 6f 6c 6c |tigator.|Controll|
|00001280| 65 72 29 2e 52 65 63 65 | 69 76 65 4c 6f 63 61 6c |er).Rece|iveLocal|
|00001290| 69 7a 65 64 4d 65 73 73 | 61 67 65 28 63 6c 61 73 |izedMess|age(clas|
|000012a0| 73 27 4f 4e 53 4f 6e 73 | 6c 61 75 67 68 74 4d 65 |s'ONSOns|laughtMe|
|000012b0| 73 73 61 67 65 27 2c 20 | 33 34 29 3b 0d 0a 09 09 |ssage', |34);....|
|000012c0| 7d 0d 0a 20 20 20 20 20 | 20 20 20 4d 65 73 73 61 |}.. | Messa|
|000012d0| 67 65 55 70 64 61 74 65 | 54 69 6d 65 20 3d 20 4c |geUpdate|Time = L|
|000012e0| 65 76 65 6c 2e 54 69 6d | 65 53 65 63 6f 6e 64 73 |evel.Tim|eSeconds|
|000012f0| 3b 0d 0a 20 20 20 20 7d | 0d 0a 0d 0a 20 20 20 20 |;.. }|.... |
|00001300| 69 66 20 28 21 62 44 65 | 70 6c 6f 79 65 64 29 0d |if (!bDe|ployed).|
|00001310| 0a 09 7b 0d 0a 20 20 20 | 20 20 20 20 20 53 65 74 |..{.. | Set|
|00001320| 52 6f 74 61 74 69 6f 6e | 28 52 6f 74 61 74 6f 72 |Rotation|(Rotator|
|00001330| 28 56 65 6c 6f 63 69 74 | 79 29 29 3b 0d 0a 0d 0a |(Velocit|y));....|
|00001340| 09 09 69 66 20 28 20 28 | 49 6e 73 74 69 67 61 74 |..if ( (|Instigat|
|00001350| 6f 72 20 21 3d 20 4e 6f | 6e 65 29 20 26 26 20 28 |or != No|ne) && (|
|00001360| 41 49 43 6f 6e 74 72 6f | 6c 6c 65 72 28 49 6e 73 |AIContro|ller(Ins|
|00001370| 74 69 67 61 74 6f 72 2e | 43 6f 6e 74 72 6f 6c 6c |tigator.|Controll|
|00001380| 65 72 29 20 21 3d 20 4e | 6f 6e 65 29 20 26 26 20 |er) != N|one) && |
|00001390| 28 56 65 6c 6f 63 69 74 | 79 2e 5a 20 3c 3d 20 30 |(Velocit|y.Z <= 0|
|000013a0| 29 20 29 0d 0a 20 20 20 | 20 20 20 20 20 7b 0d 0a |) ).. | {..|
|000013b0| 09 09 09 69 66 20 28 20 | 4d 61 78 48 65 69 67 68 |...if ( |MaxHeigh|
|000013c0| 74 20 3d 3d 20 30 20 29 | 0d 0a 09 09 09 7b 0d 0a |t == 0 )|.....{..|
|000013d0| 09 09 09 09 4d 61 78 48 | 65 69 67 68 74 20 3d 20 |....MaxH|eight = |
|000013e0| 4c 6f 63 61 74 69 6f 6e | 2e 5a 3b 0d 0a 09 09 09 |Location|.Z;.....|
|000013f0| 09 44 65 70 6c 6f 79 52 | 61 6e 64 20 3d 20 46 52 |.DeployR|and = FR|
|00001400| 61 6e 64 28 29 3b 0d 0a | 09 09 09 09 69 66 20 28 |and();..|....if (|
|00001410| 20 44 65 70 6c 6f 79 52 | 61 6e 64 20 3c 20 30 2e | DeployR|and < 0.|
|00001420| 35 20 29 0d 0a 09 09 09 | 09 09 44 65 70 6c 6f 79 |5 ).....|..Deploy|
|00001430| 52 61 6e 64 20 3d 20 31 | 3b 0d 0a 09 09 09 7d 0d |Rand = 1|;.....}.|
|00001440| 0a 09 09 09 69 66 20 28 | 20 4c 6f 63 61 74 69 6f |....if (| Locatio|
|00001450| 6e 2e 5a 20 2d 20 54 61 | 72 67 65 74 5a 20 3e 20 |n.Z - Ta|rgetZ > |
|00001460| 28 30 2e 32 20 2b 20 30 | 2e 38 2a 44 65 70 6c 6f |(0.2 + 0|.8*Deplo|
|00001470| 79 52 61 6e 64 29 20 2a | 20 28 4d 61 78 48 65 69 |yRand) *| (MaxHei|
|00001480| 67 68 74 20 2d 20 54 61 | 72 67 65 74 5a 29 20 29 |ght - Ta|rgetZ) )|
|00001490| 0d 0a 09 09 09 09 72 65 | 74 75 72 6e 3b 0d 0a 09 |......re|turn;...|
|000014a0| 09 09 48 69 74 41 63 74 | 6f 72 20 3d 20 54 72 61 |..HitAct|or = Tra|
|000014b0| 63 65 28 48 69 74 4c 6f | 63 61 74 69 6f 6e 2c 20 |ce(HitLo|cation, |
|000014c0| 48 69 74 4e 6f 72 6d 61 | 6c 2c 20 49 6e 73 74 69 |HitNorma|l, Insti|
|000014d0| 67 61 74 6f 72 2e 43 6f | 6e 74 72 6f 6c 6c 65 72 |gator.Co|ntroller|
|000014e0| 2e 54 61 72 67 65 74 2e | 4c 6f 63 61 74 69 6f 6e |.Target.|Location|
|000014f0| 2c 20 4c 6f 63 61 74 69 | 6f 6e 2c 20 66 61 6c 73 |, Locati|on, fals|
|00001500| 65 29 3b 0d 0a 09 09 09 | 69 66 20 28 20 48 69 74 |e);.....|if ( Hit|
|00001510| 41 63 74 6f 72 20 3d 3d | 20 4e 6f 6e 65 20 29 0d |Actor ==| None ).|
|00001520| 0a 09 09 09 7b 0d 0a 09 | 09 09 09 44 65 70 6c 6f |....{...|...Deplo|
|00001530| 79 28 29 3b 0d 0a 09 09 | 09 7d 0d 0a 09 09 7d 0d |y();....|.}....}.|
|00001540| 0a 09 7d 0d 0a 09 65 6c | 73 65 20 69 66 20 28 20 |..}...el|se if ( |
|00001550| 28 4c 65 76 65 6c 2e 54 | 69 6d 65 53 65 63 6f 6e |(Level.T|imeSecon|
|00001560| 64 73 20 2d 20 41 6e 6e | 6f 75 6e 63 65 54 61 72 |ds - Ann|ounceTar|
|00001570| 67 65 74 54 69 6d 65 20 | 3e 20 31 2e 30 29 20 26 |getTime |> 1.0) &|
|00001580| 26 20 28 52 6f 6c 65 20 | 3d 3d 20 52 4f 4c 45 5f |& (Role |== ROLE_|
|00001590| 41 75 74 68 6f 72 69 74 | 79 29 20 29 0d 0a 09 7b |Authorit|y) )...{|
|000015a0| 0d 0a 09 09 69 66 20 28 | 20 28 49 6e 73 74 69 67 |....if (| (Instig|
|000015b0| 61 74 6f 72 20 3d 3d 20 | 4e 6f 6e 65 29 20 7c 7c |ator == |None) |||
|000015c0| 20 28 49 6e 73 74 69 67 | 61 74 6f 72 2e 43 6f 6e | (Instig|ator.Con|
|000015d0| 74 72 6f 6c 6c 65 72 20 | 3d 3d 20 4e 6f 6e 65 29 |troller |== None)|
|000015e0| 20 7c 7c 20 28 4f 4e 53 | 41 72 74 69 6c 6c 65 72 | || (ONS|Artiller|
|000015f0| 79 43 61 6e 6e 6f 6e 28 | 4f 77 6e 65 72 29 20 3d |yCannon(|Owner) =|
|00001600| 3d 20 4e 6f 6e 65 29 20 | 29 0d 0a 09 09 7b 0d 0a |= None) |)....{..|
|00001610| 09 09 09 44 69 73 61 62 | 6c 65 28 27 54 69 63 6b |...Disab|le('Tick|
|00001620| 27 29 3b 0d 0a 09 09 09 | 72 65 74 75 72 6e 3b 0d |');.....|return;.|
|00001630| 0a 09 09 7d 0d 0a 09 09 | 41 6e 6e 6f 75 6e 63 65 |...}....|Announce|
|00001640| 54 61 72 67 65 74 54 69 | 6d 65 20 3d 20 4c 65 76 |TargetTi|me = Lev|
|00001650| 65 6c 2e 54 69 6d 65 53 | 65 63 6f 6e 64 73 3b 0d |el.TimeS|econds;.|
|00001660| 0a 09 09 69 66 20 28 20 | 21 62 53 68 6f 74 44 6f |...if ( |!bShotDo|
|00001670| 77 6e 20 29 0d 0a 09 09 | 7b 0d 0a 09 09 09 46 6f |wn )....|{.....Fo|
|00001680| 72 20 28 20 43 3d 4c 65 | 76 65 6c 2e 43 6f 6e 74 |r ( C=Le|vel.Cont|
|00001690| 72 6f 6c 6c 65 72 4c 69 | 73 74 3b 20 43 21 3d 4e |rollerLi|st; C!=N|
|000016a0| 6f 6e 65 3b 20 43 3d 43 | 2e 4e 65 78 74 43 6f 6e |one; C=C|.NextCon|
|000016b0| 74 72 6f 6c 6c 65 72 20 | 29 0d 0a 09 09 09 7b 0d |troller |).....{.|
|000016c0| 0a 09 09 09 09 42 20 3d | 20 42 6f 74 28 43 29 3b |.....B =| Bot(C);|
|000016d0| 0d 0a 09 09 09 09 69 66 | 20 28 20 28 42 20 21 3d |......if| ( (B !=|
|000016e0| 20 4e 6f 6e 65 29 20 26 | 26 20 21 42 2e 53 61 6d | None) &|& !B.Sam|
|000016f0| 65 54 65 61 6d 41 73 28 | 49 6e 73 74 69 67 61 74 |eTeamAs(|Instigat|
|00001700| 6f 72 2e 43 6f 6e 74 72 | 6f 6c 6c 65 72 29 20 26 |or.Contr|oller) &|
|00001710| 26 20 28 42 2e 50 61 77 | 6e 20 21 3d 20 4e 6f 6e |& (B.Paw|n != Non|
|00001720| 65 29 20 26 26 20 21 42 | 2e 50 61 77 6e 2e 49 73 |e) && !B|.Pawn.Is|
|00001730| 46 69 72 69 6e 67 28 29 | 0d 0a 09 09 09 09 09 26 |Firing()|.......&|
|00001740| 26 20 28 28 42 2e 45 6e | 65 6d 79 20 3d 3d 20 4e |& ((B.En|emy == N|
|00001750| 6f 6e 65 29 20 7c 7c 20 | 28 42 2e 45 6e 65 6d 79 |one) || |(B.Enemy|
|00001760| 20 3d 3d 20 49 6e 73 74 | 69 67 61 74 6f 72 29 20 | == Inst|igator) |
|00001770| 7c 7c 20 21 42 2e 45 6e | 65 6d 79 56 69 73 69 62 ||| !B.En|emyVisib|
|00001780| 6c 65 28 29 29 0d 0a 09 | 09 09 09 09 26 26 20 42 |le())...|....&& B|
|00001790| 2e 4c 69 6e 65 4f 66 53 | 69 67 68 74 54 6f 28 73 |.LineOfS|ightTo(s|
|000017a0| 65 6c 66 29 20 29 0d 0a | 09 09 09 09 7b 0d 0a 09 |elf) )..|....{...|
|000017b0| 09 09 09 09 2f 2f 20 67 | 69 76 65 20 42 20 61 20 |....// g|ive B a |
|000017c0| 63 68 61 6e 63 65 20 74 | 6f 20 73 68 6f 6f 74 20 |chance t|o shoot |
|000017d0| 61 74 20 6d 65 0d 0a 09 | 09 09 09 09 42 2e 47 6f |at me...|....B.Go|
|000017e0| 61 6c 53 74 72 69 6e 67 | 20 3d 20 22 44 65 73 74 |alString| = "Dest|
|000017f0| 72 6f 79 20 4d 6f 72 74 | 61 72 20 43 61 6d 65 72 |roy Mort|ar Camer|
|00001800| 61 22 3b 0d 0a 09 09 09 | 09 09 42 2e 54 61 72 67 |a";.....|..B.Targ|
|00001810| 65 74 20 3d 20 73 65 6c | 66 3b 0d 0a 09 09 09 09 |et = sel|f;......|
|00001820| 09 42 2e 53 77 69 74 63 | 68 54 6f 42 65 73 74 57 |.B.Switc|hToBestW|
|00001830| 65 61 70 6f 6e 28 29 3b | 0d 0a 09 09 09 09 09 69 |eapon();|.......i|
|00001840| 66 20 28 20 42 2e 50 61 | 77 6e 2e 43 61 6e 41 74 |f ( B.Pa|wn.CanAt|
|00001850| 74 61 63 6b 28 73 65 6c | 66 29 20 29 0d 0a 09 09 |tack(sel|f) )....|
|00001860| 09 09 09 7b 0d 0a 09 09 | 09 09 09 09 42 2e 44 6f |...{....|....B.Do|
|00001870| 52 61 6e 67 65 64 41 74 | 74 61 63 6b 4f 6e 28 73 |RangedAt|tackOn(s|
|00001880| 65 6c 66 29 3b 0d 0a 09 | 09 09 09 09 09 69 66 20 |elf);...|.....if |
|00001890| 28 20 46 52 61 6e 64 28 | 29 20 3c 20 30 2e 35 20 |( FRand(|) < 0.5 |
|000018a0| 29 0d 0a 09 09 09 09 09 | 09 09 62 72 65 61 6b 3b |).......|..break;|
|000018b0| 0d 0a 09 09 09 09 09 7d | 0d 0a 09 09 09 09 7d 0d |.......}|......}.|
|000018c0| 0a 09 09 09 7d 0d 0a 09 | 09 7d 0d 0a 09 7d 0d 0a |....}...|.}...}..|
|000018d0| 0d 0a 09 69 66 20 28 20 | 28 49 6e 73 74 69 67 61 |...if ( |(Instiga|
|000018e0| 74 6f 72 20 21 3d 20 4e | 6f 6e 65 29 20 26 26 20 |tor != N|one) && |
|000018f0| 28 49 6e 73 74 69 67 61 | 74 6f 72 2e 43 6f 6e 74 |(Instiga|tor.Cont|
|00001900| 72 6f 6c 6c 65 72 20 3d | 3d 20 4c 65 76 65 6c 2e |roller =|= Level.|
|00001910| 47 65 74 4c 6f 63 61 6c | 50 6c 61 79 65 72 43 6f |GetLocal|PlayerCo|
|00001920| 6e 74 72 6f 6c 6c 65 72 | 28 29 29 20 26 26 20 28 |ntroller|()) && (|
|00001930| 4f 4e 53 41 72 74 69 6c | 6c 65 72 79 43 61 6e 6e |ONSArtil|leryCann|
|00001940| 6f 6e 28 4f 77 6e 65 72 | 29 20 21 3d 20 4e 6f 6e |on(Owner|) != Non|
|00001950| 65 29 0d 0a 09 09 26 26 | 20 28 4c 65 76 65 6c 2e |e)....&&| (Level.|
|00001960| 54 69 6d 65 53 65 63 6f | 6e 64 73 20 2d 20 54 61 |TimeSeco|nds - Ta|
|00001970| 72 67 65 74 55 70 64 61 | 74 65 54 69 6d 65 20 3e |rgetUpda|teTime >|
|00001980| 20 30 2e 31 29 20 20 29 | 0d 0a 20 20 20 20 7b 0d | 0.1) )|.. {.|
|00001990| 0a 20 20 20 20 20 20 20 | 20 2f 2f 20 54 61 72 67 |. | // Targ|
|000019a0| 65 74 20 50 72 65 64 69 | 63 74 69 6f 6e 0d 0a 20 |et Predi|ction.. |
|000019b0| 20 20 20 20 20 20 20 54 | 61 72 67 65 74 55 70 64 | T|argetUpd|
|000019c0| 61 74 65 54 69 6d 65 20 | 3d 20 4c 65 76 65 6c 2e |ateTime |= Level.|
|000019d0| 54 69 6d 65 53 65 63 6f | 6e 64 73 3b 0d 0a 20 20 |TimeSeco|nds;.. |
|000019e0| 20 20 20 20 20 20 4f 4e | 53 41 72 74 69 6c 6c 65 | ON|SArtille|
|000019f0| 72 79 43 61 6e 6e 6f 6e | 28 4f 77 6e 65 72 29 2e |ryCannon|(Owner).|
|00001a00| 50 72 65 64 69 63 74 54 | 61 72 67 65 74 28 29 3b |PredictT|arget();|
|00001a10| 0d 0a 20 20 20 20 7d 0d | 0a 7d 0d 0a 0d 0a 73 69 |.. }.|.}....si|
|00001a20| 6d 75 6c 61 74 65 64 20 | 66 75 6e 63 74 69 6f 6e |mulated |function|
|00001a30| 20 53 68 6f 74 44 6f 77 | 6e 28 29 0d 0a 7b 0d 0a | ShotDow|n()..{..|
|00001a40| 09 69 66 20 28 20 4f 4e | 53 41 72 74 69 6c 6c 65 |.if ( ON|SArtille|
|00001a50| 72 79 43 61 6e 6e 6f 6e | 28 4f 77 6e 65 72 29 20 |ryCannon|(Owner) |
|00001a60| 21 3d 20 4e 6f 6e 65 20 | 29 0d 0a 09 09 4f 4e 53 |!= None |)....ONS|
|00001a70| 41 72 74 69 6c 6c 65 72 | 79 43 61 6e 6e 6f 6e 28 |Artiller|yCannon(|
|00001a80| 4f 77 6e 65 72 29 2e 41 | 6c 6c 6f 77 43 61 6d 65 |Owner).A|llowCame|
|00001a90| 72 61 4c 61 75 6e 63 68 | 28 29 3b 0d 0a 20 20 20 |raLaunch|();.. |
|00001aa0| 20 50 6c 61 79 53 6f 75 | 6e 64 28 73 6f 75 6e 64 | PlaySou|nd(sound|
|00001ab0| 27 4f 4e 53 42 50 53 6f | 75 6e 64 73 2e 41 72 74 |'ONSBPSo|unds.Art|
|00001ac0| 69 6c 6c 65 72 79 2e 43 | 61 6d 65 72 61 53 68 6f |illery.C|ameraSho|
|00001ad0| 74 44 6f 77 6e 27 2c 20 | 53 4c 4f 54 5f 4e 6f 6e |tDown', |SLOT_Non|
|00001ae0| 65 2c 20 31 2e 35 29 3b | 0d 0a 20 20 20 20 53 65 |e, 1.5);|.. Se|
|00001af0| 74 50 68 79 73 69 63 73 | 28 50 48 59 53 5f 46 61 |tPhysics|(PHYS_Fa|
|00001b00| 6c 6c 69 6e 67 29 3b 0d | 0a 7d 0d 0a 0d 0a 66 75 |lling);.|.}....fu|
|00001b10| 6e 63 74 69 6f 6e 20 54 | 61 6b 65 44 61 6d 61 67 |nction T|akeDamag|
|00001b20| 65 28 69 6e 74 20 44 61 | 6d 61 67 65 2c 20 50 61 |e(int Da|mage, Pa|
|00001b30| 77 6e 20 69 6e 73 74 69 | 67 61 74 65 64 42 79 2c |wn insti|gatedBy,|
|00001b40| 20 56 65 63 74 6f 72 20 | 68 69 74 6c 6f 63 61 74 | Vector |hitlocat|
|00001b50| 69 6f 6e 2c 20 56 65 63 | 74 6f 72 20 6d 6f 6d 65 |ion, Vec|tor mome|
|00001b60| 6e 74 75 6d 2c 20 63 6c | 61 73 73 3c 44 61 6d 61 |ntum, cl|ass<Dama|
|00001b70| 67 65 54 79 70 65 3e 20 | 64 61 6d 61 67 65 54 79 |geType> |damageTy|
|00001b80| 70 65 29 0d 0a 7b 0d 0a | 20 20 20 20 69 66 20 28 |pe)..{..| if (|
|00001b90| 28 44 61 6d 61 67 65 20 | 3e 20 30 29 20 26 26 20 |(Damage |> 0) && |
|00001ba0| 28 28 49 6e 73 74 69 67 | 61 74 65 64 42 79 20 3d |((Instig|atedBy =|
|00001bb0| 3d 20 4e 6f 6e 65 29 20 | 7c 7c 20 28 49 6e 73 74 |= None) ||| (Inst|
|00001bc0| 69 67 61 74 65 64 42 79 | 2e 43 6f 6e 74 72 6f 6c |igatedBy|.Control|
|00001bd0| 6c 65 72 20 3d 3d 20 4e | 6f 6e 65 29 20 7c 7c 20 |ler == N|one) || |
|00001be0| 28 49 6e 73 74 69 67 61 | 74 6f 72 20 3d 3d 20 4e |(Instiga|tor == N|
|00001bf0| 6f 6e 65 29 20 7c 7c 20 | 28 49 6e 73 74 69 67 61 |one) || |(Instiga|
|00001c00| 74 6f 72 2e 43 6f 6e 74 | 72 6f 6c 6c 65 72 20 3d |tor.Cont|roller =|
|00001c10| 3d 20 4e 6f 6e 65 29 20 | 7c 7c 20 21 49 6e 73 74 |= None) ||| !Inst|
|00001c20| 69 67 61 74 65 64 42 79 | 2e 43 6f 6e 74 72 6f 6c |igatedBy|.Control|
|00001c30| 6c 65 72 2e 53 61 6d 65 | 54 65 61 6d 41 73 28 49 |ler.Same|TeamAs(I|
|00001c40| 6e 73 74 69 67 61 74 6f | 72 2e 43 6f 6e 74 72 6f |nstigato|r.Contro|
|00001c50| 6c 6c 65 72 29 29 29 0d | 0a 09 7b 0d 0a 20 20 20 |ller))).|..{.. |
|00001c60| 20 20 20 20 20 62 53 68 | 6f 74 44 6f 77 6e 20 3d | bSh|otDown =|
|00001c70| 20 54 72 75 65 3b 0d 0a | 09 09 53 68 6f 74 44 6f | True;..|..ShotDo|
|00001c80| 77 6e 28 29 3b 0d 0a 09 | 7d 0d 0a 7d 0d 0a 0d 0a |wn();...|}..}....|
|00001c90| 73 69 6d 75 6c 61 74 65 | 64 20 66 75 6e 63 74 69 |simulate|d functi|
|00001ca0| 6f 6e 20 44 65 73 74 72 | 6f 79 65 64 28 29 0d 0a |on Destr|oyed()..|
|00001cb0| 7b 0d 0a 20 20 20 20 6c | 6f 63 61 6c 20 69 6e 74 |{.. l|ocal int|
|00001cc0| 20 69 3b 0d 0a 0d 0a 20 | 20 20 20 69 66 20 28 54 | i;.... | if (T|
|00001cd0| 61 72 67 65 74 42 65 61 | 6d 20 21 3d 20 4e 6f 6e |argetBea|m != Non|
|00001ce0| 65 29 0d 0a 20 20 20 20 | 20 20 20 20 54 61 72 67 |e).. | Targ|
|00001cf0| 65 74 42 65 61 6d 2e 44 | 65 73 74 72 6f 79 28 29 |etBeam.D|estroy()|
|00001d00| 3b 0d 0a 0d 0a 20 20 20 | 20 66 6f 72 28 69 3d 30 |;.... | for(i=0|
|00001d10| 3b 20 69 3c 3d 33 3b 20 | 69 2b 2b 29 0d 0a 20 20 |; i<=3; |i++).. |
|00001d20| 20 20 7b 0d 0a 20 20 20 | 20 20 20 20 20 69 66 20 | {.. | if |
|00001d30| 28 54 68 72 75 73 74 65 | 72 5b 69 5d 20 21 3d 20 |(Thruste|r[i] != |
|00001d40| 4e 6f 6e 65 29 0d 0a 20 | 20 20 20 20 20 20 20 20 |None).. | |
|00001d50| 20 20 20 54 68 72 75 73 | 74 65 72 5b 69 5d 2e 44 | Thrus|ter[i].D|
|00001d60| 65 73 74 72 6f 79 28 29 | 3b 0d 0a 20 20 20 20 7d |estroy()|;.. }|
|00001d70| 0d 0a 0d 0a 20 20 20 20 | 53 75 70 65 72 2e 44 65 |.... |Super.De|
|00001d80| 73 74 72 6f 79 65 64 28 | 29 3b 0d 0a 7d 0d 0a 0d |stroyed(|);..}...|
|00001d90| 0a 0d 0a 73 69 6d 75 6c | 61 74 65 64 20 66 75 6e |...simul|ated fun|
|00001da0| 63 74 69 6f 6e 20 53 70 | 61 77 6e 45 66 66 65 63 |ction Sp|awnEffec|
|00001db0| 74 73 28 20 76 65 63 74 | 6f 72 20 48 69 74 4c 6f |ts( vect|or HitLo|
|00001dc0| 63 61 74 69 6f 6e 2c 20 | 76 65 63 74 6f 72 20 48 |cation, |vector H|
|00001dd0| 69 74 4e 6f 72 6d 61 6c | 20 29 0d 0a 7b 0d 0a 09 |itNormal| )..{...|
|00001de0| 69 66 20 28 20 62 53 68 | 6f 74 44 6f 77 6e 20 29 |if ( bSh|otDown )|
|00001df0| 0d 0a 09 09 53 75 70 65 | 72 2e 53 70 61 77 6e 45 |....Supe|r.SpawnE|
|00001e00| 66 66 65 63 74 73 28 48 | 69 74 4c 6f 63 61 74 69 |ffects(H|itLocati|
|00001e10| 6f 6e 2c 20 48 69 74 4e | 6f 72 6d 61 6c 29 3b 0d |on, HitN|ormal);.|
|00001e20| 0a 09 65 6c 73 65 20 69 | 66 20 28 20 45 66 66 65 |..else i|f ( Effe|
|00001e30| 63 74 49 73 52 65 6c 65 | 76 61 6e 74 28 4c 6f 63 |ctIsRele|vant(Loc|
|00001e40| 61 74 69 6f 6e 2c 66 61 | 6c 73 65 29 20 29 0d 0a |ation,fa|lse) )..|
|00001e50| 09 09 73 70 61 77 6e 28 | 63 6c 61 73 73 27 52 6f |..spawn(|class'Ro|
|00001e60| 63 6b 65 74 53 6d 6f 6b | 65 52 69 6e 67 27 2c 2c |cketSmok|eRing',,|
|00001e70| 2c 48 69 74 4c 6f 63 61 | 74 69 6f 6e 20 2b 20 48 |,HitLoca|tion + H|
|00001e80| 69 74 4e 6f 72 6d 61 6c | 2a 31 36 2c 20 72 6f 74 |itNormal|*16, rot|
|00001e90| 61 74 6f 72 28 48 69 74 | 4e 6f 72 6d 61 6c 29 20 |ator(Hit|Normal) |
|00001ea0| 29 3b 0d 0a 7d 0d 0a 0d | 0a 73 69 6d 75 6c 61 74 |);..}...|.simulat|
|00001eb0| 65 64 20 66 75 6e 63 74 | 69 6f 6e 20 45 78 70 6c |ed funct|ion Expl|
|00001ec0| 6f 64 65 28 76 65 63 74 | 6f 72 20 48 69 74 4c 6f |ode(vect|or HitLo|
|00001ed0| 63 61 74 69 6f 6e 2c 20 | 76 65 63 74 6f 72 20 48 |cation, |vector H|
|00001ee0| 69 74 4e 6f 72 6d 61 6c | 29 0d 0a 7b 0d 0a 09 69 |itNormal|)..{...i|
|00001ef0| 66 20 28 20 62 53 68 6f | 74 44 6f 77 6e 20 29 0d |f ( bSho|tDown ).|
|00001f00| 0a 09 09 53 75 70 65 72 | 2e 45 78 70 6c 6f 64 65 |...Super|.Explode|
|00001f10| 28 48 69 74 4c 6f 63 61 | 74 69 6f 6e 2c 20 48 69 |(HitLoca|tion, Hi|
|00001f20| 74 4e 6f 72 6d 61 6c 29 | 3b 0d 0a 09 65 6c 73 65 |tNormal)|;...else|
|00001f30| 0d 0a 09 7b 0d 0a 09 09 | 62 45 78 70 6c 6f 64 65 |...{....|bExplode|
|00001f40| 64 20 3d 20 74 72 75 65 | 3b 0d 0a 09 09 44 65 73 |d = true|;....Des|
|00001f50| 74 72 6f 79 28 29 3b 0d | 0a 09 7d 0d 0a 7d 0d 0a |troy();.|..}..}..|
|00001f60| 0d 0a 00 | |... | |
+--------+-------------------------+-------------------------+--------+--------+